home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / BARMDI.PAK / BARMDI.RC < prev    next >
Text File  |  1997-05-06  |  7KB  |  216 lines

  1. #include "resource.h"
  2.  
  3. #if !defined (WORKSHOP_INVOKED)
  4. #include <windows.h>
  5. #endif
  6.  
  7. #include "winver.h"
  8. #include "globals.h"
  9. #include "toolbar.h"
  10. #include "statbar.h"
  11.  
  12. IDI_APPICON             ICON    DISCARDABLE     "BarMDI.ICO"
  13. IDI_CHILDICON           ICON    DISCARDABLE     "child.ico"
  14.  
  15. IDB_BMP                 BITMAP  MOVEABLE PURE   "toolbar.bmp"
  16.  
  17. ABOUTBOX DIALOG DISCARDABLE  22, 17, 167, 73
  18. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  19. CAPTION "About BarMDI"
  20. FONT 8, "System"
  21. BEGIN
  22.     DEFPUSHBUTTON   "OK",IDOK,132,2,32,14,WS_GROUP
  23.     ICON            IDI_APPICON,-1,3,2,18,20
  24.     LTEXT           "CompanyName",IDD_VERFIRST,30,2,100,8
  25.     LTEXT           "FileDescription",101,30,11,100,8
  26.     LTEXT           "FileVersion",102,30,20,137,8
  27.     LTEXT           "LegalCopyright",103,30,29,137,8
  28.     LTEXT           "LegalTrademarks",IDD_VERLAST,30,47,136,27
  29.     CONTROL         "",501,"Static",SS_BLACKRECT,29,43,138,1
  30. END
  31.  
  32.  
  33. BARMDI MENU DISCARDABLE 
  34. BEGIN
  35.     POPUP "&File"
  36.     BEGIN
  37.         MENUITEM "&New",                        IDM_FILENEW
  38.         MENUITEM "&Open...",                    IDM_FILEOPEN, GRAYED
  39.         MENUITEM "&Save",                       IDM_FILESAVE, GRAYED
  40.         MENUITEM "Save &As...",                 IDM_FILESAVEAS, GRAYED
  41.         MENUITEM "&Close",                      IDM_FILECLOSE, GRAYED
  42.         MENUITEM SEPARATOR
  43.         MENUITEM "&Print",                      IDM_FILEPRINT, GRAYED
  44.         MENUITEM "P&rint Setup...",             IDM_FILEPRINTSU, GRAYED
  45.         MENUITEM SEPARATOR
  46.         MENUITEM "E&xit",                       IDM_EXIT
  47.     END
  48.     POPUP "&Edit"
  49.     BEGIN
  50.         MENUITEM "&Undo\tAlt+BkSp",             IDM_EDITUNDO, GRAYED
  51.         MENUITEM SEPARATOR
  52.         MENUITEM "Cu&t\tShift+Del",             IDM_EDITCUT, GRAYED
  53.         MENUITEM "&Copy\tCtrl+Ins",             IDM_EDITCOPY, GRAYED
  54.         MENUITEM "&Paste\tShift+Ins",           IDM_EDITPASTE, GRAYED
  55.         MENUITEM "&Delete\tDel",                IDM_EDITCLEAR, GRAYED
  56.     END
  57.     POPUP "&Window"
  58.     BEGIN
  59.         MENUITEM "&Tile",                       IDM_WINDOWTILE
  60.         MENUITEM "&Cascade",                    IDM_WINDOWCASCADE
  61.         MENUITEM "Arrange &Icons",              IDM_WINDOWICONS
  62.         MENUITEM "Close &All",                  IDM_WINDOWCLOSEALL
  63.     END
  64.     POPUP "&Help"
  65.     BEGIN
  66.         MENUITEM "&About...",                   IDM_ABOUT
  67.     END
  68. END
  69.  
  70.  
  71. BARMDI ACCELERATORS MOVEABLE PURE 
  72. BEGIN
  73.     "Q",            IDM_EXIT,               VIRTKEY, CONTROL
  74. END
  75.  
  76.  
  77. VS_VERSION_INFO VERSIONINFO
  78.  FILEVERSION 4,0,0,0
  79.  PRODUCTVERSION 4,0,0,0
  80.  FILEFLAGSMASK 0x3fL
  81. #ifdef _DEBUG
  82.  FILEFLAGS 0xbL
  83. #else
  84.  FILEFLAGS 0xaL
  85. #endif
  86.  FILEOS 0x10001L
  87.  FILETYPE 0x1L
  88.  FILESUBTYPE 0x0L
  89. BEGIN
  90.     BLOCK "StringFileInfo"
  91.     BEGIN
  92.         BLOCK "040904E4"
  93.         BEGIN
  94.             VALUE "CompanyName", "Microsoft Corporation\0"
  95.             VALUE "FileDescription", "BarMDI Example Application\0"
  96.             VALUE "FileVersion", "Version 4.0\0"
  97.             VALUE "InternalName", "BarMDI\0"
  98.             VALUE "LegalCopyright", "Copyright \251 Microsoft Corp. 1990-1995\0"
  99.             VALUE "LegalTrademarks", "Microsoft\256 is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation\0"
  100.             VALUE "ProductName", "BarMDI\0"
  101.             VALUE "ProductVersion", "Version 4.0\0"
  102.         END
  103.     END
  104.     BLOCK "VarFileInfo"
  105.     BEGIN
  106.         VALUE "Translation", 0x409, 1252
  107.     END
  108. END
  109.  
  110.  
  111. STRINGTABLE DISCARDABLE
  112. BEGIN
  113.     IDS_APPNAME             "BarMDI"
  114.     IDS_DESCRIPTION         "BarMDI Example Application"
  115. END
  116.  
  117. STRINGTABLE DISCARDABLE 
  118. BEGIN
  119.     IDS_SYSMENU             "Move, size, or close application window"
  120.     IDS_MDISYSMENU          "Move, size, or close document window"
  121. END
  122.  
  123. STRINGTABLE DISCARDABLE 
  124. BEGIN
  125.     IDS_SCRESTORE           "Restores the window to normal size"
  126. END
  127.  
  128. STRINGTABLE DISCARDABLE 
  129. BEGIN
  130.     IDS_SCMOVE              "Changes the position of the window"
  131. END
  132.  
  133. STRINGTABLE DISCARDABLE 
  134. BEGIN
  135.     IDS_SCSIZE              "Changes the size of the window"
  136. END
  137.  
  138. STRINGTABLE DISCARDABLE 
  139. BEGIN
  140.     IDS_SCMINIMIZE          "Minimizes the window to an icon"
  141. END
  142.  
  143. STRINGTABLE DISCARDABLE 
  144. BEGIN
  145.     IDS_SCMAXIMIZE          "Enlarges the window to full size"
  146. END
  147.  
  148. STRINGTABLE DISCARDABLE 
  149. BEGIN
  150.     IDS_SCCLOSE             "Closes the window"
  151. END
  152.  
  153. STRINGTABLE DISCARDABLE 
  154. BEGIN
  155.     IDS_SCTASKLIST          "Switches to another application through the Windows Task Manager"
  156. END
  157.  
  158. STRINGTABLE DISCARDABLE 
  159. BEGIN
  160.     IDS_SCNEXTWINDOW        "Switches to the next document window"
  161. END
  162.  
  163. STRINGTABLE DISCARDABLE 
  164. BEGIN
  165.     IDS_SCPREVWINDOW        "Switches to the previous document window"
  166. END
  167.  
  168. STRINGTABLE DISCARDABLE 
  169. BEGIN
  170.     IDS_FILEMENU            "Create, open, save, or print documents"
  171.     IDM_FILENEW             "Creates a new document"
  172.     IDM_FILEOPEN            "Opens an existing document"
  173.     IDM_FILESAVE            "Saves the active document"
  174.     IDM_FILESAVEAS          "Saves the active document under a different name"
  175.     IDM_FILECLOSE           "Closes the active document"
  176.     IDM_FILEPRINT           "Prints the active document"
  177.     IDM_FILEPRINTSU         "Changes the printer selection or configuration"
  178. END
  179.  
  180. STRINGTABLE DISCARDABLE 
  181. BEGIN
  182.     IDM_EXIT                "Quits this application"
  183. END
  184.  
  185. STRINGTABLE DISCARDABLE 
  186. BEGIN
  187.     IDS_EDITMENU            "Undo, delete, copy, and insert"
  188.     IDM_EDITUNDO            "Reverses the last action"
  189.     IDM_EDITCUT             "Cuts the selection and puts it on the clipboard"
  190.     IDM_EDITCOPY            "Copies the selection and puts it on the clipboard"
  191. END
  192.  
  193. STRINGTABLE DISCARDABLE 
  194. BEGIN
  195.     IDM_EDITPASTE           "Inserts the clipboard contents at the insertion point"
  196.     IDM_EDITCLEAR           "Removes the selection without putting it on the clipboard"
  197. END
  198.  
  199. STRINGTABLE DISCARDABLE 
  200. BEGIN
  201.     IDS_WINDOWMENU          "Rearrange windows or activate specified window"
  202.     IDM_WINDOWTILE          "Arranges windows as non-overlapping tiles"
  203.     IDM_WINDOWCASCADE       "Arranges windows as overlapping tiles"
  204.     IDM_WINDOWCLOSEALL      "Closes all open windows"
  205.     IDM_WINDOWICONS         "Arranges minimized window icons"
  206.     IDM_WINDOWCHILD         "Switches to "
  207. END
  208.  
  209. STRINGTABLE DISCARDABLE 
  210. BEGIN
  211.     IDS_HELPMENU            "Get help"
  212.     IDM_ABOUT               "Displays information about this application"
  213. END
  214.  
  215.  
  216.